<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
    <title>Source file: ${fileName}</title>
    <link href='../css/main.css' rel='stylesheet' type='text/css'/>

	<link type="text/css" rel="stylesheet" href="../css/shCore.css"/>
	<link type="text/css" rel="stylesheet" href="../css/shThemeDefault.css"/>
	<script type="text/javascript" src="../scripts/shCore.js"></script>
	<script type="text/javascript" src="../scripts/shBrushBash.js"></script>
	<script type="text/javascript" src="../scripts/shBrushCpp.js"></script>
	<script type="text/javascript" src="../scripts/shBrushCSharp.js"></script>
	<script type="text/javascript" src="../scripts/shBrushCss.js"></script>
	<script type="text/javascript" src="../scripts/shBrushDelphi.js"></script>
	<script type="text/javascript" src="../scripts/shBrushDiff.js"></script>
	<script type="text/javascript" src="../scripts/shBrushGroovy.js"></script>
	<script type="text/javascript" src="../scripts/shBrushJava.js"></script>
	<script type="text/javascript" src="../scripts/shBrushJScript.js"></script>
	<script type="text/javascript" src="../scripts/shBrushPhp.js"></script>
	<script type="text/javascript" src="../scripts/shBrushPlain.js"></script>
	<script type="text/javascript" src="../scripts/shBrushPython.js"></script>
	<script type="text/javascript" src="../scripts/shBrushRuby.js"></script>
	<script type="text/javascript" src="../scripts/shBrushScala.js"></script>
	<script type="text/javascript" src="../scripts/shBrushSql.js"></script>
	<script type="text/javascript" src="../scripts/shBrushVb.js"></script>
	<script type="text/javascript" src="../scripts/shBrushXml.js"></script>
	<script type="text/javascript">
		SyntaxHighlighter.config.clipboardSwf = 'scripts/clipboard.swf';
	</script>


    <link href='../css/shCore.css' rel='stylesheet' type='text/css'/>
    <link href='../css/shThemeEclipse.css' rel='stylesheet' type='text/css'/>

    <script src='../scripts/shCore.js' type='text/javascript'></script>

    <script src='../scripts/shBrushJava.js' type='text/javascript'></script>
</head>
<body>
<pre id="sourceCode" class="brush: java">
${fileContent}
</pre>
<div id="marker"></div>
<!-- USAGE: file://path.to.file.html#highlight=line,line,line -->
<script type="text/javascript">
    var parts = window.location.href.split("#");
	    var $_GET = {};
    for (var i = 0; i < parts.length; i++) {
        var temp = parts[i].split("=");
        $_GET[decodeURIComponent(temp[0])] = decodeURIComponent(temp[1]);
    }
    var $sc = document.getElementById("sourceCode");
    if ($_GET['highlight'] != null) {
        $sc.className = "brush: java; highlight: [" + $_GET['highlight'] + "]";
    }
    SyntaxHighlighter.all();
    
    if (parseInt(navigator.appVersion) > 3) {
        if (navigator.appName == "Netscape") {
            winH = window.innerHeight;
        }
        if (navigator.appName.indexOf("Microsoft") != -1) {
            winH = document.body.offsetHeight;
        }
    }
    if (window.innerHeight != null) {
        winH = window.innerHeight;
    }
    if (document.documentElement.clientHeight > 0) {
        winH = document.documentElement.clientHeight;
    }
    
    if ($_GET['highlight'] != null) {
        var hlines = $_GET['highlight'].split(",");
        if (winH > 0) {
            var line = hlines[0];
            var lines = ${lineCount};
            var hei = document.getElementById("marker").offsetTop;
            window.scrollTo(0, hei * (line / lines)  / 1.1 - winH / 2);
        }
    }
</script>

</body>
</html>